﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using OgilvyOne.UKNow.Model;
using ECCIT;
using OgilvyOne.UKNow.DALFactory;

namespace OgilvyOne.UKNow.BLL
{
    public class EventDateBLL
    {
        public int LanguageID { get; set; }
        public EventDateBLL(int langID)
        {
            this.LanguageID = langID;
        }
        #region 保存或修改数据
        public ResultInfo Save(EventsDateModel model) {
            return EventsDateFactory.Creat(LanguageID).Save(model);
        }
        #endregion
        #region 根据活动ID删除数据
        public int Dele(int id) 
        {
            return EventsDateFactory.Creat(LanguageID).Delete(id);
        }
        #endregion
    }
}
